﻿@model MIZ.Models.Aandoeningen

@{
    ViewBag.Title = "Edit";
}

@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>Verander</h1>
                <h2>Verander de aandoening: "@Html.DisplayFor(model => model.Aandoening)".</h2>
            </hgroup>
        </div>
    </section>
}


@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Aandoeningen</legend>

        @Html.HiddenFor(model => model.Id)

        <h4>
             Aandoeningen:
        </h4>
        <div class="editor-field">
            @Html.EditorFor(model => model.Aandoening)
            @Html.ValidationMessageFor(model => model.Aandoening)
        </div>
        <br />
        <h4>
            Omschrijving:
        </h4>
        <div>
            @Html.EditorFor(model => model.Beschrijving)
        </div>

        <p>
            <input class="New_Button" type="submit" value="Opslaan" name="command"/>
            <input type="submit" value="Terug naar Lijst" class="New_Button" onclick="location.href='@Url.Action("Index")'" />
        </p>
    </fieldset>
}


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
